﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DistributionRange.aspx.cs"
    Inherits="WMS6.Web.Configuration.DistributionRange" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>DistributionRange</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initDetailPage();
        }
                
         //弹出窗口供应商
        function selectVendor()
        {
            var rtnValue = popModalWindow('../Configuration/VendorQuery.aspx?action=txtVendorID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtVendorID").focus();
                document.getElementById("txtVendorID").value = rtnValue;
            }
        }  
        
        //弹出窗口供应商
        function selectCarrier()
        {
            var rtnValue = popModalWindow('../Configuration/VendorQuery.aspx?action=txtAlternateCarrierID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtAlternateCarrierID").focus();
                document.getElementById("txtAlternateCarrierID").value = rtnValue;
            }
        }  
        
    </script>

</head>
<body>
    <form id="F2571" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblDistributionRange" runat="server" CssClass="label_header" Text="配送区域"
                            meta:resourcekey="lblDistributionRange"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnCancel" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnCancel%>"
                            AccessKey="c" OnClick="btnCancel_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnSave%>"
                            AccessKey="s" OnClick="btnSave_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="imgL1">
                </div>
            </div>
            <div class="tabLabelCont tabCur" id="div1">
                <asp:Label ID="one1" runat="server" class="hover" Text="常规" meta:resourcekey="one1"></asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="imgR1">
                </div>
            </div>
        </div>
        <div id="div_content">
            <div id="con_one_1" style="display: block;">
                <table width="900" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblVendorID" runat="server" CssClass="label" Text="承运商" meta:resourcekey="lblVendorID"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblProvince" runat="server" CssClass="label" Text="省份" meta:resourcekey="lblProvince"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblCity" runat="server" CssClass="label" Text="城市" meta:resourcekey="lblCity"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblCounties" runat="server" CssClass="label" Text="区县" meta:resourcekey="lblCounties"></asp:Label>
                        </td>
                        <td width="180">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtVendorID" runat="server" CssClass="textbox" meta:resourcekey="txtVendorID"></asp:TextBox><img
                                src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectVendor();" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtProvince" runat="server" CssClass="textbox" MaxLength="30" Enabled="False"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCity" runat="server" CssClass="textbox" MaxLength="20" Enabled="False"
                                meta:resourcekey="txtCity"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCounties" runat="server" CssClass="textbox" MaxLength="20" Enabled="False"
                                meta:resourcekey="txtCounties"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblInitialWeight" runat="server" CssClass="label" Text="首重重量" meta:resourcekey="lblInitialWeight"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblInitialWeightPrice" runat="server" CssClass="label" Text="首重价格"
                                meta:resourcekey="lblInitialWeightPrice"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblContinuousWeight" runat="server" CssClass="label" Text="续重重量" meta:resourcekey="lblContinuousWeight"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblContinuousWeightPrice" runat="server" CssClass="label" Text="续重价格"
                                meta:resourcekey="lblContinuousWeightPrice"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblAlternateCarrierID" runat="server" CssClass="label" Text="备选承运商"
                                meta:resourcekey="lblAlternateCarrierID"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtInitialWeight" runat="server" CssClass="textbox" MaxLength="30"
                                meta:resourcekey="txtInitialWeight"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtInitialWeightPrice" runat="server" CssClass="textbox" MaxLength="20"
                                meta:resourcekey="txtInitialWeightPrice"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtContinuousWeight" runat="server" CssClass="textbox" MaxLength="20"
                                meta:resourcekey="txtContinuousWeight"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtContinuousWeightPrice" runat="server" CssClass="textbox" MaxLength="20"
                                meta:resourcekey="txtContinuousWeightPrice"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtAlternateCarrierID" runat="server" CssClass="textbox" MaxLength="20"
                                meta:resourcekey="txtAlternateCarrierID"></asp:TextBox><img src="http://localhost/PowerWMS6Web/Images/icon_find.gif"
                                    alt="select one item" class="img" onclick="selectCarrier();" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <input type="hidden" id="hdnID" runat="server" />
    </form>
</body>
</html>
